<% form_tag do %>
<%= error_messages_for 'user' %>

<table class="form" cellpadding="0px" cellspacing="0px">
	<tr>
		<th colspan="2">Registration<span class="other">All fields required.</span></th>
	</tr>
    <tr>
        <td class="labels">
            <label for="user_login_name">
                Name
            </label>
        </td>
        <td class="fields">    
            <%= text_field 'user', 'login_name', {:class => 'normal_input_width'} %>
         </td>
    </tr>
    <tr>
        <td class="labels">
            <label for="user_email">
                <strong>Email</strong>
            </label>
        </td>
        <td class="fields">    
            <%= text_field 'user', 'email', {:class => 'normal_input_width'} %>
        </td>
    </tr>
    <tr class="breaker">
    	<td colspan="2">Choose password</td>
    </tr>
    <tr>
        <td class="labels">
            <label for="user_password">
                <strong>Password</strong>
            </label>
    	</td>
        <td class="fields">
            <%= password_field 'user', 'password', {:class => 'normal_input_width'} %>
        </td>
    </tr>
    <tr>
        <td class="labels">
            <label for="user_password_confirmation">
                <strong>Repeat password again</strong>
            </label>
        </td>
        <td>
            <%= password_field 'user', 'password_confirmation', {:class => 'normal_input_width'} %>
        </td>
    </tr>
    <tr class="breaker">
    	<td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td class="labels">
            <label for="captcha">CAPTCHA</label>
        </td>
        <td>
            <%= get_captcha() %>
        </td>
    </tr>
    <tr class="button_area">
    	<td colspan="2">
            <%= submit_tag 'Sign Up', :disable_with => 'Signing Up ...',:class => 'submit' %> or <a href="#">cancel</a>
        </td>
    </tr>
</table>
                    

<% end %>
